﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WCS.Application.Service.Inventory.DTO;

/// <summary>
/// SFP库存同步数据传输对象
/// </summary>
public class SFPInventoryDto
{


    /// <summary>
    /// 同步ID
    /// </summary>
    public int id { get; set; } = 9887;

    /// <summary>
    /// 组织代码
    /// </summary>
    public string organize_code { get; set; } = "33P1";

    /// <summary>
    /// 仓库编号
    /// </summary>
    public string wh_no { get; set; } = "仓库代码";

    /// <summary>
    /// ERP订单号
    /// </summary>
    public string erp_order_no { get; set; } = "erp单号";

    /// <summary>
    /// 订单号
    /// </summary>
    public string order_no { get; set; } = "MOVE202504230945";

    /// <summary>
    /// 业务类型
    /// </summary>
    public int bus_type { get; set; } = 107;

    /// <summary>
    /// ERP区域编号
    /// </summary>
    public string erp_zone_no { get; set; } = "erp库存地址";

    /// <summary>
    /// 物料编码
    /// </summary>
    public string part_no { get; set; } = "PT20240424001";

    /// <summary>
    /// 产品名称
    /// </summary>
    public string part_name_rdd { get; set; } = "产品1";

    /// <summary>
    /// 托盘编码
    /// </summary>
    public string package_no { get; set; } = "托盘编码";

    /// <summary>
    /// 条码
    /// </summary>
    public string sn { get; set; } = "sss";

    /// <summary>
    /// 数量
    /// </summary>
    public decimal qty { get; set; } = 20.75m;

    /// <summary>
    /// 批次号
    /// </summary>
    public string lot_no { get; set; } = "2025-04-22";

    /// <summary>
    /// 日期代码
    /// </summary>
    public string date_code { get; set; } = "2025-04-22";

    /// <summary>
    /// 同步状态
    /// </summary>
    public int is_sync { get; set; } = 2;

    /// <summary>
    /// 创建日期时间
    /// </summary>
    public DateTime create_date_time { get; set; } = DateTime.Parse("2025-04-23 15:45:00");

    /// <summary>
    /// 修改日期时间
    /// </summary>
    public DateTime modify_date_time { get; set; } = DateTime.Parse("2025-04-23 15:45:00");

    /// <summary>
    /// 备注1
    /// </summary>
    public string note_1 { get; set; } = "Another Reserved Note 1";

    /// <summary>
    /// 备注2
    /// </summary>
    public string note_2 { get; set; } = "Another Reserved Note 2";

    /// <summary>
    /// 备注3
    /// </summary>
    public string note_3 { get; set; } = "Another Reserved Note 3";

    /// <summary>
    /// 备注4
    /// </summary>
    public string note_4 { get; set; } = "Another Reserved Note 4";

}



/// <summary>
/// 暂存入库
/// </summary>
public class TemporarilyWarehouse
{

    /// <summary>
    /// 任务ID
    /// </summary>
    public int? TaskNo { get; set; }

    /// <summary>
    /// 托盘条码
    /// </summary>
    public string Palcode  { get; set; }

    /// <summary>
    /// 物料编码
    /// </summary>
    public string Materialcode { get; set; }

    /// <summary>
    /// 物料名称
    /// </summary>
    public string Materialname { get; set; }

    /// <summary>
    /// 提升机或库口 102-502 配置文件转换
    /// </summary>
    public string Hoistopening { get; set; }

    /// <summary>
    /// 
    /// </summary>
    public int MyProperty { get; set; }
}


/// <summary>
/// 暂存入库返回值
/// </summary>
public class TemporarilyWarehouseOutDTO
{

    /// <summary>
    /// 任务ID
    /// </summary>
    public string TaskNumber { get; set; }

    /// <summary>
    /// 当前点位
    /// </summary>
    public string LocationPoint { get; set; }

    /// <summary>
    /// 起始点位
    /// </summary>
    public string StartPoint { get; set; }

    /// <summary>
    /// 结束点位
    /// </summary>
    public string EndPoint { get; set; }

    /// <summary>
    /// 目标层数
    /// </summary>
    public int EndLevel { get; set; }

    /// <summary>
    /// 目标库位对应的通道点位
    /// </summary>
    public string ChannelPoint { get; set; }

    /// <summary>
    /// 设备ID
    /// </summary>
    public string DeviceId { get; set; }

    /// <summary>
    /// 托盘码
    /// </summary>
    public string Palcode { get; set; }


    /// <summary>
    /// 
    /// </summary>
    public int MyProperty { get; set; }
}


/// <summary>
/// 暂存出库
/// </summary>
public class TemporarilyOutbound
{

    /// <summary>
    /// 出库订单
    /// </summary>
    public string TaskNo { get; set; }

    /// <summary>
    /// 托盘条码
    /// </summary>
    public string Palcode { get; set; }

    /// <summary>
    /// 提升机或库口 出入口1-5 配置文件转换
    /// </summary>
    public string Hoistopening { get; set; }

}

